import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SFightAttributeEx
    
    export  class SFightAttributeEx extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SFightAttributeEx();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.minAttack);
            arg1.writeInt(this.maxAttack);
            arg1.writeInt(this.physicalReliefRate);
            arg1.writeInt(this.magicReliefRate);
            arg1.writeInt(this.reliefRate);
            arg1.writeInt(this.hitRate);
            arg1.writeInt(this.joukRate);
            arg1.writeInt(this.passRate);
            arg1.writeInt(this.blockRate);
            arg1.writeInt(this.physicalCritRate);
            arg1.writeInt(this.magicCritRate);
            arg1.writeInt(this.speededUpRate);
            arg1.writeInt(this.toughnessRate);
            arg1.writeInt(this.reserve1);
            arg1.writeInt(this.reserve2);
            arg1.writeInt(this.reserve3);
            arg1.writeInt(this.reserve4);
            arg1.writeInt(this.reserve5);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.minAttack = arg1.readInt();
            this.maxAttack = arg1.readInt();
            this.physicalReliefRate = arg1.readInt();
            this.magicReliefRate = arg1.readInt();
            this.reliefRate = arg1.readInt();
            this.hitRate = arg1.readInt();
            this.joukRate = arg1.readInt();
            this.passRate = arg1.readInt();
            this.blockRate = arg1.readInt();
            this.physicalCritRate = arg1.readInt();
            this.magicCritRate = arg1.readInt();
            this.speededUpRate = arg1.readInt();
            this.toughnessRate = arg1.readInt();
            this.reserve1 = arg1.readInt();
            this.reserve2 = arg1.readInt();
            this.reserve3 = arg1.readInt();
            this.reserve4 = arg1.readInt();
            this.reserve5 = arg1.readInt();
            return;
        }

        public /* const */_type: int=20202;

        public /* var */minAttack: int;

        public /* var */maxAttack: int;

        public /* var */physicalReliefRate: int;

        public /* var */magicReliefRate: int;

        public /* var */reliefRate: int;

        public /* var */hitRate: int;

        public /* var */joukRate: int;

        public /* var */passRate: int;

        public /* var */blockRate: int;

        public /* var */physicalCritRate: int;

        public /* var */magicCritRate: int;

        public /* var */speededUpRate: int;

        public /* var */toughnessRate: int;

        public /* var */reserve1: int;

        public /* var */reserve2: int;

        public /* var */reserve3: int;

        public /* var */reserve4: int;

        public /* var */reserve5: int;

        public static /* var */_regist: SFightAttributeEx;
    }

            SFightAttributeEx._regist = new SFightAttributeEx(true);
        